package com.rykj.qxj.server.model.entity;


import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name="task_history")
public class TaskHistory {

    @Id
    @GeneratedValue
    private  int id;
    @ApiModelProperty(value = "任务id")
    private  int  taskId;
    @ApiModelProperty(value = "执行时间")
    private Date executeTime;
    @ApiModelProperty(value = "检查结果:error出错,true正确")
    private String resultType;
}
